﻿// JScript File

var prevSelected;
function ChangeImage(source, target){

    if (prevSelected != null)
        prevSelected.className = "";

    source.className="selected";
    prevSelected = source;
    
    target.src = source.src;
}
